#ifndef COMMON_H_
#define COMMON_H_

#include "config.h"
#include <string>

namespace physicsworks {
	
template<class E, class A> inline void Assert(A assertion, const std::string& msg)
{
	if (!assertion) throw E(msg);
}

}

#endif /*COMMON_H_*/
